﻿using Model;
using Model.DTO.Member;
using Model.DTO.Public.GetList;
using Model.DTO.Public.OperateId;

namespace BLL.Interface
{
    /// <summary>
    /// 会员业务逻辑层接口
    /// </summary>
    public interface IMemberBLL
    {
        /// <summary>
        /// 添加会员
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        Task<ResponseMessage> AddMember(AddMemberDTO param);
        /// <summary>
        /// 删除会员
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        Task<ResponseMessage> DeleteMember(OperateIdDTO_LONG param);
        /// <summary>
        /// 编辑会员
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        Task<ResponseMessage> EditMember(EditMemberDTO param);
        /// <summary>
        /// 获取会员列表
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        Task<ResponseMessage> GetMemberList(GetListDTO param);
    }
}
